<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-data-edit" th:object="${busData}">
            <input name="collectId" th:field="*{collectId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">监测点id：</label>
                <div class="col-sm-8">
                    <input name="monitorId" th:field="*{monitorId}" class="form-control" type="text" >
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">监测点名称：</label>
                <div class="col-sm-8">
                    <input name="monitorName" th:field="*{monitorName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">产生时间：</label>
                <div class="col-sm-8">
                    <input name="produceTime" th:field="*{produceTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">氨氮：</label>
                <div class="col-sm-8">
                    <input name="ad" th:field="*{ad}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总磷：</label>
                <div class="col-sm-8">
                    <input name="zl" th:field="*{zl}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">浊度：</label>
                <div class="col-sm-8">
                    <input name="zd" th:field="*{zd}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">温度：</label>
                <div class="col-sm-8">
                    <input name="wd" th:field="*{wd}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">叶绿素：</label>
                <div class="col-sm-8">
                    <input name="yls" th:field="*{yls}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "bus/data";
        $("#form-data-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-data-edit').serialize());
            }
        }
    </script>
</body>
</html>